<template>
  <!--7.系统设置-->
  <el-submenu index="7">
    <template slot="title">
      <i class="el-icon-location"></i>
      <span>系统设置</span>
    </template>
    <el-menu-item-group>
      <el-menu-item index="7-1" @click="toViewLog">查看日志</el-menu-item>
      <el-menu-item index="7-2" @click="toEmployeeManage">员工管理</el-menu-item>
      <el-menu-item index="7-3" @click="toUserManage">用户管理</el-menu-item>
      <el-menu-item index="7-4" @click="toSystemDataManage">车辆管理</el-menu-item>

    </el-menu-item-group>
  </el-submenu>
</template>

<script>
  export default {
    name: "SidebarSystemSetting",
    methods: {
      toViewLog() {
        this.$router.push('/system/viewLog')
      },
      toUserManage() {
        this.$router.push('/system/userManage')
      },
      toSystemDataManage() {
        this.$router.push('/system/systemDataManage')
      },
      toEmployeeManage() {
        this.$router.push('/system/employeeManage')
      }
    },
  }
</script>

<style scoped>

</style>